package com.tlgen.coopera.factory;

import com.tlgen.coopera.model.ConfigData;

public class ConfigLocalFactory {

    private ConfigData configData = new ConfigData();

    private ConfigLocalFactory() {
    }

    private static class ConfigLocalFactoryInstance {
        private static final ConfigLocalFactory instance = new ConfigLocalFactory();
    }

    public static final ConfigLocalFactory getInstance() {
        return ConfigLocalFactoryInstance.instance;
    }

    public ConfigData getConfigData() {
        return configData;
    }

    public synchronized void setConfigData(ConfigData configData) {
        this.configData = configData;
    }
}
